Skip to content

GH-42121: [Java] Cleanup spotless plugin configuration - #43019

Merged
lidavidm merged 2 commits into
apache:mainfrom
laurentgo:laurentgo/spotless-cleanup
Jun 25, 2024
Merged

lidavidm merged 2 commits into
apache:mainfrom
laurentgo:laurentgo/spotless-cleanup

Conversation

@laurentgo

@laurentgo laurentgo commented Jun 24, 2024 •

Copy link
Copy Markdown
Contributor

What changes are included in this PR?

As all modules have been migrated over to spotless, remove per-module configuration and enable java formatting at the root level.

Exclude format module from java formatting but still enable license formatting for this module as well.

Are these changes tested?

Through CI/CD

Are there any user-facing changes?

No

Fixes #42121 #40826

As all modules have been migrated over to spotless, remove per-module
configuration and enable java formatting at the root level.

Exclude format module from java formatting but still enable license
formatting for this module as well.

Fixes apache#42121 apache#40826
@laurentgo
laurentgo requested a review from lidavidm as a code owner June 24, 2024 15:20
@github-actions

Copy link
Copy Markdown

⚠️ GitHub issue #42121 has been automatically assigned in GitHub to PR creator.

Comment on lines -1 to -18
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// automatically generated by the FlatBuffers compiler, do not modify

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shouldn't be formatted at all, right?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The license header is added manually to the generated files. I thought it should be consistent with the other java files as well, which is why I changed those and updated the README.md section regarding the format module but the java formatting has been disabled.

@lidavidm

Copy link
Copy Markdown
Member

@github-actions crossbow submit -g java

@github-actions

Copy link
Copy Markdown

Revision: a6ff51f

Submitted crossbow builds: ursacomputing/crossbow @ actions-8a68e8380e

Task Status
java-jars GitHub Actions
test-conda-python-3.10-spark-v3.5.0 GitHub Actions
test-conda-python-3.11-spark-master GitHub Actions
test-conda-python-3.8-spark-v3.5.0 GitHub Actions
verify-rc-source-java-linux-almalinux-8-amd64 GitHub Actions
verify-rc-source-java-linux-conda-latest-amd64 GitHub Actions
verify-rc-source-java-linux-ubuntu-20.04-amd64 GitHub Actions
verify-rc-source-java-linux-ubuntu-22.04-amd64 GitHub Actions
verify-rc-source-java-macos-amd64 GitHub Actions

@conbench-apache-arrow

Copy link
Copy Markdown

After merging your PR, Conbench analyzed the 7 benchmarking runs that have been run so far on merge-commit 3e7ae53.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 8 possible false positives for unstable benchmarks that are known to sometimes produce them.

pribor pushed a commit to GlobalWebIndex/arrow that referenced this pull request Oct 24, 2025
…43019)

### What changes are included in this PR?

As all modules have been migrated over to spotless, remove per-module configuration and enable java formatting at the root level.

Exclude format module from java formatting but still enable license formatting for this module as well.

### Are these changes tested?

Through CI/CD

### Are there any user-facing changes?

No

Fixes apache#42121 apache#40826
* GitHub Issue: apache#42121

Authored-by: Laurent Goujon <laurent@apache.org>
Signed-off-by: David Li <li.davidm96@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Java] Cleanup spotless and checkstyle configuration

3 participants